﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Program
    {
        static void Main(string[] args)
        {
            Student student = new Student();    //Student实例化
            student.Name = "陈奕迅";           //调用字段 string _name
            Student.Age = 18;                   //调用静态字段  int _age; 
            Teacher.Name = "胡哥";            //调用静态类字段 static string _nam

            Console.WriteLine("我叫{0}，我今年{1}，我老师是{2},老师今年{3}岁",student.Name,Student.Age,Teacher.Name,Teacher.Age);
            Console.ReadKey();
        }

    }
}
